package chapter4;

public class Cylinder extends Circle{
    private double height;
    private double CylinderArea;
    private double vol;
    public Cylinder(double r,double h){
        radius=r;
        height=h;
    }

    public double getHeight() {
        return height;
    }
    public double getCylinderArea(){
        return  CylinderArea;
    }
    public double getVol() {

        return vol;
    }

    @Override
    public void disp() {
        super.disp();
    }
}
